﻿#version 330 core
//vert
layout(location=0)in vec3 Position;
uniform mat4 moduleMat;
layout(std140) uniform SetingBlock
{
	mat4 cameraMat;
};
void main()
{
	gl_Position = cameraMat*moduleMat*vec4(Position,1.0);
}
//frag
uniform vec4 mainColor;
void main()
{
	gl_FragColor = mainColor;
}